/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ro.futurefeed.api;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Georgian
 */
@XmlRootElement(name="feeds")
public class FeedContainerTO implements Serializable {
    private List<FeedTO> elements = new ArrayList<FeedTO>();
    
    public FeedContainerTO(){
    
    }

    @XmlElement(name="feed")
    public List<FeedTO> getElements() {
        return elements;
    }

    public void setElements(List<FeedTO> elements) {
        this.elements = elements;
    }
    
    public void add(FeedTO element) {
        this.elements.add(element);
    }
}
